home *** CD-ROM | disk | FTP | other *** search
/ Invenzioni & Inventori / Invenzioni and Inventori (Eclectica Publishing) (1996).ISO / invenzio / timeline.dir / 00001_Script_1 next >
Text File  |  1983-01-29  |  645b  |  17 lines

  1. on at_hil dacast,quanti,primocan
  2.   if the mousecast >= dacast and the mousecast <=dacast + quanti-1 then
  3.     set attore to the mousecast
  4.     if attore >=dacast and attore <= dacast + quanti-1 then
  5.       repeat with num = 1 to quanti
  6.         set the castnum of sprite (primocan+num -1) to (dacast + num -1)
  7.       end repeat
  8.       set the castnum of sprite (attore-dacast +primocan) to (attore + quanti)
  9.     end if
  10.   end if
  11.   if the mousecast < dacast or the mousecast >= (dacast + 2*quanti) then
  12.     repeat with num = 1 to quanti
  13.       set the castnum of sprite (primocan+num -1) to (dacast + num -1)
  14.     end repeat
  15.   end if
  16. end
  17.